package com.haoyeteng.sxbd.modular.business.service;

import com.haoyeteng.sxbd.modular.business.model.Address;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 用户地址表 服务类
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-05-27
 */
public interface IAddressService extends IService<Address> {

	/**
	 * 新增地址
	 * @param address
	 */
	void insertAddress(Address address);

	/**
	 * 设置默认地址
	 * @param addressId
	 */
	void defaultById(Integer addressId);

	/**
	 * 修改地址
	 * @param address
	 */
	void updateAddress(Address address);

}
